package com.brainardphotography.blog.web;

import java.util.logging.Logger;

import com.brainardphotography.blog.BlogEntry;
import com.google.sitebricks.rendering.EmbedAs;

@EmbedAs("Photobox")
public class Photobox extends BasePage {
	private static final long serialVersionUID = 6542308641261534642L;

	private static Logger log = Logger.getLogger(Photobox.class.getName());
	private BlogEntry entry;
	private BlogEntry previousEntry;
	private BlogEntry nextEntry;

	public Photobox() {

	}

	public BlogEntry getEntry() {
		return entry;
	}

	public void setEntry(BlogEntry entry) {
		log.fine("Setting Entry: " + entry.toString());
		this.entry = entry;
	}

	public BlogEntry getPreviousEntry() {
		return previousEntry;
	}

	public void setPreviousEntry(BlogEntry previousEntry) {
		this.previousEntry = previousEntry;
	}

	public BlogEntry getNextEntry() {
		return nextEntry;
	}

	public void setNextEntry(BlogEntry nextEntry) {
		this.nextEntry = nextEntry;
	}
}
